package com.services;

import java.net.URLEncoder;

public class SearchService {
	public static String search(String key) {
		try {
			String charset = "UTF-8";	
			String link = "http://www.baomoi.com/Search.aspx?t=3&ph="+ URLEncoder.encode(key, charset)+"&zoneid=-1";
			/*Elements links = Jsoup
					.connect(google)
					.get().select(".story");*/
			return link;
		} catch (Exception e) {
			//Log.i("error", e.getMessage());
			return null;

		}
	}
}
